#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main()
{
	int n, m;
	while (cin >> n >> m) {
		int a[m][n];
		for (int j = 0; j < m; j++) {
			for (int i = 0; i < n; i++) {
				cin >> a[m][n];
			}
		}
		int score[m], sum[n];

		for (int i = 0; i < m; i++) {
			score[i] += a[]
		}
	}

	return 0;
}
